package com.itheima.d6_object_stream;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;

public class Test2ObjectOutputStream {
    public static void main(String[] args) {
        try (
                ObjectInputStream ois = new ObjectInputStream(new FileInputStream("Day18-io-app\\src\\itheimaOut08.txt"));
        ) {
            Object u =ois.readObject();
            System.out.println(u);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
